package com.dongdongshop.service;

import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.pojo.TbItemCat;
import com.dongdongshop.pojo.vo.DetailsVo;
import com.dongdongshop.pojo.vo.GoodsVo;

import java.util.List;

public interface GoodsService {
    List<TbItemCat> getGoodInfo(Integer pid);

    void insertGoods(TbGoods goods, TbGoodsDesc goodsDesc,List<TbItem> list);

    List<GoodsVo> getGoodsInfo(String sellerId,Integer auditStatus,String goodsName);

    void deleteBatch(Long[] ids);

    void SubmitReview(Long[] ids,String statu);

    List<GoodsVo> getGoodsShInfo(String goodsName);


    List<DetailsVo> getDetailsById(Long id);

    TbGoods findGoodsById(Long id);
}
